/**
 * PersonServiceImpl.java
 *
 * @author: ZhuJiahui
 * @date: 2018/12/19 22:59
 */
package com.zhujiahui.springboot.service;

import com.zhujiahui.springboot.domain.Person;
import com.zhujiahui.springboot.mapper.PersonMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: ZhuJiahui
 * @version: 1.0
 */
@Service
public class PersonServiceImpl {

    @Autowired
    protected PersonMapper personMapper;

    public Person selectPerson(int id) {
        return this.personMapper.selectPerson(id);
    }
}
